<template>
    <el-dialog :visible="value" title="企业信息" width="60%" @close="closeDialog" >
        <div class="dialog">
            <el-descriptions class="margin-top" :column="1">
            <el-descriptions-item label="企业名称">{{formInfo.enterpriseName}}</el-descriptions-item>
            <el-descriptions-item label="企业编码">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="类型">{{formInfo.registerType}}</el-descriptions-item>
            <el-descriptions-item label="工作邮箱">{{formInfo.enterpriseMail}}</el-descriptions-item>
            <el-descriptions-item label="管理员">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="国家-地区">{{formInfo.countryCn}}/{{formInfo.area}}</el-descriptions-item>
            <el-descriptions-item label="类型">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="会员等级">{{formInfo.memberGrade}}</el-descriptions-item>
            <el-descriptions-item label="会员有效期">{{formInfo.memberStartTime}}/{{formInfo.memberEndTime}}</el-descriptions-item>
            <el-descriptions-item label="注册时间">{{formInfo.createTime}}</el-descriptions-item>
            <el-descriptions-item label="子账号">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="已服务次数">{{formInfo.numberOfServices}}</el-descriptions-item>
            <el-descriptions-item label="企业介绍">{{formInfo.businessIntroduce}}</el-descriptions-item>
            <el-descriptions-item label="船舶数量">{{formInfo.dockNum}}</el-descriptions-item>
            <el-descriptions-item label="评价星级">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="船坞数量">{{formInfo.dockNum}}</el-descriptions-item>
            <el-descriptions-item label="船坞尺寸（长宽深）">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="码头长度">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="船级社认证数量">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="主营产品">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="企业性质">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="国际化服务">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="国内服务">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="设计能力">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="员工数量">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="设计业绩">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="造船能力">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="造船类型">{{formInfo.enterpriseNo}}</el-descriptions-item>
            <el-descriptions-item label="资质">{{formInfo.enterpriseNo}}</el-descriptions-item>
        </el-descriptions>
        </div>
       
    </el-dialog>
</template>
<script>
export default{
    name:"enterpriseDetail",
    data(){
        return {

        }
    },
    props:{
        value:{
            type:Boolean,
            default:false
        },
        formInfo:{
            type:Object,
            default:()=>{return {}}
        }
    },
    created(){
        // getFormInfo(this.id).then((res)=>{
        //     this.formInfo=res.data
        // })
    },
    methods:{
        closeDialog(){
            this.$emit('update:value',false)
        }
    },
}
</script>
<style>
.dialog{
    max-height:700px;
    overflow: auto;
}
</style>